package com.example.prison.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName people_manage
 */
@TableName(value ="people_manage")
@Data
public class PeopleManage implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 20)
    @TableField(value = "name")
    private String name;

    /**
     * 性别
     */
    @Excel(name = "性别", width = 20)
    @TableField(value = "gender")
    private String gender;

    /**
     * 部门
     */
    @Excel(name = "部门", width = 20)
    @TableField(value = "unit")
    private String unit;

    /**
     * 职位
     */
    @Excel(name = "职位", width = 20)
    @TableField(value = "post")
    private String post;

    /**
     * 人员状态
     */
    @Excel(name = "人员状态", width = 20)
    @TableField(value = "status")
    private String status;

    /**
     * 籍贯
     */
    @Excel(name = "籍贯", width = 20)
    @TableField(value = "native_place")
    private String nativePlace;

    /**
     * 民族
     */
    @Excel(name = "民族", width = 20)
    @TableField(value = "nationality")
    private String nationality;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式", width = 20)
    @TableField(value = "phone")
    private String phone;

    /**
     * 家庭地址
     */
    @Excel(name = "家庭地址", width = 20)
    @TableField(value = "address")
    private String address;

    /**
     * 身份证号码
     */
    @Excel(name = "身份证号码", width = 20)
    @TableField(value = "id_card")
    private String idCard;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
